package cn.lxh.org.mapper;

import cn.lxh.basic.mapper.BaseMapper;
import cn.lxh.org.domain.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;


import java.util.List;

@Mapper
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {

    Employee findByUsername(String username);

    /**
     * 审核中 根据shopid 来查询东西
     * @param shopId
     * @return
     */
    Employee findByShopId(Long shopId);
}
